package com.tbit.manager.api;

import com.tbit.manager.api.dto.DepositApplyDTO;
import com.tbit.manager.enums.ApiConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * 押金退款申请 openfeign接口
 *
 * @author ：zhangtianyou
 * @since 2024/11/22
 */
@FeignClient(name = ApiConstants.NAME)
public interface DepositApplyApi {

    String PREFIX = ApiConstants.PREFIX + "/depositApply";

    /**
     * 人工处理押金
     *
     * @param depositApplyDTO 押金申请对象
     */
    @PostMapping(value = PREFIX + "/manualDepositRefund", consumes = "application/json",produces = "application/json")
    void manualDepositRefund(@RequestBody DepositApplyDTO depositApplyDTO);

}
